﻿namespace Distributions
{
    using System;

    using Shared;

    public class RandomDistribution : IDistribution
    {
        private readonly Random random;

        public RandomDistribution()
        {
            this.random = new Random();
        }

        public double NextDouble()
        {
            return this.random.NextDouble();
        }

        public double NextDouble(int k, double mean)
        {
            return this.random.Next(k, (int)mean);
        }
    }
}
